home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
CC_C
/
1199.ZIP
/
WINDOWS.TXT
< prev
Wrap
Text File
|
1988-05-11
|
3KB
|
67 lines
Small-Windows Version 1.1
Small-Windows is a library of windowing functions for the C
language. It runs under PC/MS-DOS (version 2.1 and later) on IBM
and compatible microcomputers. It supports MDA, CGA, and EGA
video adaptors.
As its name suggests, Small-Windows was originally written for
use with the Small C compiler (as implemented on the IBM PC by
J. E. Hendrix). Small- Windows is a very complete windowing
package, however, and versions for Microsoft C (4.0, 5.0),
Lattice C (3.0), and Turbo C (1.0) are also available. All
source code is included.
Four levels of functions are included. There are 18 video
functions, 41 window functions, 7 menu functions, and a file
directory facility. The video functions are interfaces to the
BIOS and display memory. They are written in assembly langauge.
For speed, display memory is accessed directly. Retrace timing
is optional. Multiple video modes and pages are supported.
The window functions constitute the main body of the package.
With them, you can define as many windows as memory will allow.
There are functions to clean, frame, move, hide, show, scroll,
push, and pop windows. Cursor position and size may be
controlled. Data and/or attributes can be written to windows.
Window versions of six standard I/O functions (including
printf() and scanf()) are provided. Finally, there is a function
for acquiring edited input from window fields.
The menu functions provide a wide range of menu capabilities.
Both static and pop-up menus are supported. Menu shapes may be
rectangular, vertical, horizontal, or single-item. Frames and
titles are optional. Scrolling gives access to overflow items.
Sorting is provided for variable menu items.
The directory facility illustrates the use of the window and
menu functions and provides a very useful file selection,
renaming, and deletion capability.
Two test programs are provided for exercising the window, menu,
and directory functions. They also provide further examples of
using the library.
J. E. Hendrix
P.O. Box 1435
Oxford, MS 38655